<?php 
require_once(dirname(__FILE__).'/MySQLDomain.php');
class OrdersDomain extends MySQLDomain {

	public static $CollectionName="orders";

	public function __construct($data) {
		parent::__construct($data, OrdersDomain::$CollectionName, "orderID");
	}

	public function getOrderID() {
		return $this->getField("orderID");
	}
	public function setOrderID($orderID) {
		$this->setField("orderID", $orderID);
	}

	public function getOrderNumber() {
		return $this->getField("orderNumber");
	}
	public function setOrderNumber($orderNumber) {
		$this->setField("orderNumber", $orderNumber);
	}

	public function getOrderDate() {
		return $this->getField("orderDate");
	}
	public function setOrderDate($orderDate) {
		$this->setField("orderDate", $orderDate);
	}

	public function getUserID() {
		return $this->getField("userID");
	}
	public function setUserID($userID) {
		$this->setField("userID", $userID);
	}

	public function getTotalAmount() {
		return $this->getField("totalAmount");
	}
	public function setTotalAmount($totalAmount) {
		$this->setField("totalAmount", $totalAmount);
	}

	public function getCurrency() {
		return $this->getField("currency");
	}
	public function setCurrency($currency) {
		$this->setField("currency", $currency);
	}

}
?>